<?php
require './Home/Model/Model.php';
	class ShowModel extends Model{
		function __Construct(){
			parent::__Construct();
		}
		function getVideos($data){
			//var_dump($data);
            $tid=$data;
			$sql = "select * from vv where tid=".$tid;
			//echo $sql;
		    $data = $this->conn->query($sql);
			return $data;
		}
		function getVideoType($data){
			//var_dump($data);
            $tid=$data;
			$sql = "select * from videotype where tid=".$tid;
			//echo $sql;m

		    $data = $this->conn->query($sql);
			return $data;
		}
		
	}
?>